package com.itheima.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.pojo.OperateLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author ch200
 * @description 针对表【operate_log(操作日志表)】的数据库操作Mapper
 * @createDate 2025-03-15 13:39:07
 * @Entity com.itheima.pojo.OperateLog
 */
@Mapper
public interface OperateLogMapper extends BaseMapper<OperateLog> {
@Select("select o.*,e.name as operateEmpName from operate_log o left join emp e on o.operate_emp_id=e.id ")
    Page<OperateLog> page(Page<OperateLog> p);
}




